package com.example;

public class UserService {
    private String name;

    // Setter方法，用于属性注入
    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
